//
//  JGTableViewCellModel.h
//  RYDatasourceDemo
//
//   Copyright © 2016年 AC-英特路. All rights reserved.
//  Created by JiaKang.Zhong on 16/4/22.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface JGTableViewCellModel : NSObject

/**
 *  重用的identifier
 */
@property (nonatomic, retain) NSString *itemIdentifier;

/**
 *  cell的图片
 */
@property (nonatomic, retain) UIImage *itemImage;

/**
 *  cell 的title
 */
@property (nonatomic, retain) NSString *itemTitle;

/**
 *  cell 的详细title
 */
@property (nonatomic, retain) NSString *itemSubtitle;

/**
 *  cell 的辅助视图
 */
@property (nonatomic, retain) UIImage *itemAccessoryImage;

/**
 *   如果觉得属性太长，可以采用字典形似来包装
 *
 */
+ (instancetype)initWithImage:(UIImage *)image Title:(NSString *)title SubTitle:(NSString *)subTitle AccessoryImage:(UIImage *)accessoryImage andIdentifier:(NSString *)itemIdentifier;
- (instancetype)initWithImage:(UIImage *)image Title:(NSString *)title SubTitle:(NSString *)subTitle AccessoryImage:(UIImage *)accessoryImage andIdentifier:(NSString *)itemIdentifier;

@end
